package com.example.littleSpider.myapplication.activity;

import android.webkit.WebView;

import com.example.littleSpider.myapplication.R;
import com.example.littleSpider.myapplication.base.BaseActivity;
import com.example.littleSpider.myapplication.myInterfaces.MethodInTitle;
import com.example.littleSpider.myapplication.view.TitleView;

import butterknife.BindView;

/**
 * Created by EDZ on 2017/12/19.
 *
 * 我要发单界面  禁限贵物品告知界面
 */

public class InFormActivity extends BaseActivity implements MethodInTitle{

    @BindView(R.id.wb_agreement)
    WebView wb_agreement;
    @BindView(R.id.title_view)
    TitleView title_view;
    @Override
    protected int getLayoutRes() {
        return R.layout.activity_agreement;
    }

    @Override
    protected void initView() {
        title_view.initMyTitle("禁限贵物品告知",InFormActivity.this);
        title_view.hideTitleTextImage();
        wb_agreement.getSettings().setJavaScriptEnabled(true);
        wb_agreement.loadUrl("http://www.jcodecraeer.com/");
    }

    @Override
    protected void initData() {

    }

    @Override
    public void setGoBack() {
        finish();
    }

    @Override
    public void onRightOne() {

    }

    @Override
    public void onRightTwo() {

    }

    @Override
    public void onTitleText() {

    }
}
